mysql security update

Synopsis

mysql security update

Type/Severity

Security Advisory: Important

Topic

Updated mysql packages that fix various security issues, as well as a
number of bugs, are now available for Red Hat Enterprise Linux 2.1.

Description

MySQL is a multi-user, multi-threaded SQL database server.

A number security issues that affect the mysql server have been reported:

Oleksandr Byelkin discovered that "ALTER TABLE ... RENAME" checked
the CREATE/INSERT rights of the old table instead of the new one. The
Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
the name CAN-2004-0835 to this issue.

Lukasz Wojtow discovered a buffer overrun in the mysql_real_connect
function. In order to exploit this issue an attacker would need to force
the use of a malicious DNS server (CAN-2004-0836).

Dean Ellis discovered that multiple threads ALTERing the same (or
different) MERGE tables to change the UNION could cause the server to crash
or stall (CAN-2004-0837).

Sergei Golubchik discovered that if a user is granted privileges to a
database with a name containing an underscore ("_"), the user also gains
the ability to grant privileges to other databases with similar names
(CAN-2004-0957).

Additionally, the following minor temporary file vulnerabilities were
discovered:

  • Stan Bubroski and Shaun Colley found a temporary file vulnerability in
    the mysqlbug script (CAN-2004-0381).
  • A temporary file vulnerability was discovered in mysqld_multi
    (CAN-2004-0388).
  • Jeroen van Wolffelaar discovered an temporary file vulnerability in the
    mysqlhotcopy script when using the scp method (CAN-2004-0457).

All users of mysql should upgrade to these updated packages, which resolve
these issues and also include fixes for a number of small bugs.

Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied. Use Red Hat
Network to download and update your packages. To launch the Red Hat
Update Agent, use the following command:

up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

http://www.redhat.com/docs/manuals/enterprise/

Affected Products

  • Red Hat Enterprise Linux Server 2 ia64
  • Red Hat Enterprise Linux Server 2 i386
  • Red Hat Enterprise Linux Workstation 2 ia64
  • Red Hat Enterprise Linux Workstation 2 i386

Fixes

  • BZ - 112693 - mysqlhotcopy of local Fedora DB broken after upgrade from RH9
  • BZ - 113960 - [PATCH] Bug fix + enhancement for mysql_setpermission
  • BZ - 115165 - botched string concat ?
  • BZ - 124352 - Cannot drop databases
  • BZ - 129409 - linking with 'mysql --libs' doesent seem to work correctly.
  • BZ - 130348 - CAN-2004-0457 mysqlhotcopy insecure temporary file vulnerability
  • BZ - 135372 - CAN-2004-0835 MySQL flaws (CAN-2004-0836, CAN-2004-0837, CAN-2004-0957)

CVEs

References

(none)